/// createBy : ""
/// createTime : null
/// updateBy : null
/// updateTime : null
/// remark : null
/// params : {"@type":"java.util.HashMap"}
/// userId : 9
/// userName : "13800000008"
/// nickName : "9527"
/// email : ""
/// mobile : ""
/// sex : "0"
/// avatar : ""
/// password : "e10adc3949ba59abbe56e057f20f883e"
/// salt : ""
/// status : "0"
/// delFlag : "0"
/// loginIp : "192.168.31.215"
/// loginDate : "2024-04-15T22:34:16.000+08:00"
/// circleIds : null
/// currentCircleId : null

class UserData {
  UserData({
      this.createBy, 
      this.createTime, 
      this.updateBy, 
      this.updateTime, 
      this.remark, 
      this.params, 
      this.userId, 
      this.userName, 
      this.nickName, 
      this.email, 
      this.mobile, 
      this.sex, 
      this.avatar, 
      this.password, 
      this.salt, 
      this.status, 
      this.delFlag, 
      this.loginIp, 
      this.loginDate, 
      this.circleIds, 
      this.currentCircleId,});

  UserData.fromJson(dynamic json) {
    createBy = json['createBy'];
    createTime = json['createTime'];
    updateBy = json['updateBy'];
    updateTime = json['updateTime'];
    remark = json['remark'];
    params = json['params'] != null ? Params.fromJson(json['params']) : null;
    userId = json['userId'];
    userName = json['userName'];
    nickName = json['nickName'];
    email = json['email'];
    mobile = json['mobile'];
    sex = json['sex'];
    avatar = json['avatar'];
    password = json['password'];
    salt = json['salt'];
    status = json['status'];
    delFlag = json['delFlag'];
    loginIp = json['loginIp'];
    loginDate = json['loginDate'];
    circleIds = json['circleIds'];
    currentCircleId = json['currentCircleId'];
  }
  String? createBy;
  dynamic createTime;
  dynamic updateBy;
  dynamic updateTime;
  dynamic remark;
  Params? params;
  num? userId;
  String? userName;
  String? nickName;
  String? email;
  String? mobile;
  String? sex;
  String? avatar;
  String? password;
  String? salt;
  String? status;
  String? delFlag;
  String? loginIp;
  String? loginDate;
  String? circleIds;
  String? currentCircleId;
UserData copyWith({  String? createBy,
  dynamic createTime,
  dynamic updateBy,
  dynamic updateTime,
  dynamic remark,
  Params? params,
  num? userId,
  String? userName,
  String? nickName,
  String? email,
  String? mobile,
  String? sex,
  String? avatar,
  String? password,
  String? salt,
  String? status,
  String? delFlag,
  String? loginIp,
  String? loginDate,
  dynamic circleIds,
  dynamic currentCircleId,
}) => UserData(  createBy: createBy ?? this.createBy,
  createTime: createTime ?? this.createTime,
  updateBy: updateBy ?? this.updateBy,
  updateTime: updateTime ?? this.updateTime,
  remark: remark ?? this.remark,
  params: params ?? this.params,
  userId: userId ?? this.userId,
  userName: userName ?? this.userName,
  nickName: nickName ?? this.nickName,
  email: email ?? this.email,
  mobile: mobile ?? this.mobile,
  sex: sex ?? this.sex,
  avatar: avatar ?? this.avatar,
  password: password ?? this.password,
  salt: salt ?? this.salt,
  status: status ?? this.status,
  delFlag: delFlag ?? this.delFlag,
  loginIp: loginIp ?? this.loginIp,
  loginDate: loginDate ?? this.loginDate,
  circleIds: circleIds ?? this.circleIds,
  currentCircleId: currentCircleId ?? this.currentCircleId,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['createBy'] = createBy;
    map['createTime'] = createTime;
    map['updateBy'] = updateBy;
    map['updateTime'] = updateTime;
    map['remark'] = remark;
    if (params != null) {
      map['params'] = params?.toJson();
    }
    map['userId'] = userId;
    map['userName'] = userName;
    map['nickName'] = nickName;
    map['email'] = email;
    map['mobile'] = mobile;
    map['sex'] = sex;
    map['avatar'] = avatar;
    map['password'] = password;
    map['salt'] = salt;
    map['status'] = status;
    map['delFlag'] = delFlag;
    map['loginIp'] = loginIp;
    map['loginDate'] = loginDate;
    map['circleIds'] = circleIds;
    map['currentCircleId'] = currentCircleId;
    return map;
  }

}

/// @type : "java.util.HashMap"

class Params {
  Params({
      this.type,});

  Params.fromJson(dynamic json) {
    type = json['@type'];
  }
  String? type;
Params copyWith({  String? type,
}) => Params(  type: type ?? this.type,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['@type'] = type;
    return map;
  }

}